package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.pojo.Permission;
import com.itany.vo.UserPermissionVo;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-09-24 上午9:37
 * Description：<描述>
 */
public interface PermissionService {
    PageInfo<Permission> findAllBook(Integer page, Integer rows, Permission permission);

    List<Permission> findAllParent();

    void modifyPermission(Permission permission);

    List<Permission> findPermission();

    List<UserPermissionVo> findPermissionById(Integer id);
}
